package com.keba.lamp.complaint.vo.update;

import com.keba.basic.base.entity.SuperEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 渠道客户
 * </p>
 *
 * @author twg
 * @date 2025-04-15 23:21:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "渠道客户")
public class ChannelCustomerUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 乐观锁
     */
    @Schema(description = "乐观锁")
    @NotNull(message = "请填写乐观锁")
    private Integer revision;
    /**
     * 是否删除，0-未删除，1-删除
     */
    @Schema(description = "是否删除，0-未删除，1-删除")
    private Integer isDel;
    /**
     * 唯一标识字符串
     */
    @Schema(description = "唯一标识字符串")
    @Size(max = 100, message = "唯一标识字符串长度不能超过{max}")
    private String code;
    /**
     * 企业名称
     */
    @Schema(description = "企业名称")
    @NotEmpty(message = "请填写企业名称")
    @Size(max = 100, message = "企业名称长度不能超过{max}")
    private String name;
    /**
     * 渠道类别;[01-催收公司 99-其它]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.CHANNEL_CUSTOMER_TYPE)
     */
    @Schema(description = "渠道类别")
    @NotEmpty(message = "请填写渠道类别")
    @Size(max = 255, message = "渠道类别长度不能超过{max}")
    private String type;
    /**
     * 联系人
     */
    @Schema(description = "联系人")
    @Size(max = 100, message = "联系人长度不能超过{max}")
    private String contactPerson;
    /**
     * 联系人电话
     */
    @Schema(description = "联系人电话")
    @Size(max = 100, message = "联系人电话长度不能超过{max}")
    private String contactTel;
    /**
     * 备注
     */
    @Schema(description = "备注")
    @Size(max = 500, message = "备注长度不能超过{max}")
    private String remark;

    /**
     * 营业执照
     */
    @Schema(description = "营业执照")
    private Long appendixIcon;


}
